package com.sqx.modules.orders.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class OrderAllResponse implements Serializable {

    @ApiModelProperty("订单id")
    private Long ordersId;
    @ApiModelProperty("订单编号")
    private String ordersNo;
    @ApiModelProperty("接单id")
    private Long orderTakingId;
    @ApiModelProperty("支付金额")
    private BigDecimal payMoney;
    @ApiModelProperty("订单状态0待支付1进行中2已完成3已退款")
    private Long state;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("店铺名称")
    private String companyName;
    @ApiModelProperty("订单种类1接单2会员")
    private Long ordersType;
    @ApiModelProperty("备注")
    private String remarks;
    @ApiModelProperty("订单数量")
    private Long orderNumber;
    @ApiModelProperty("会员类型id")
    private Long vipDetailsId;
    @ApiModelProperty("服务发布人id")
    private Long serviceUserId;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String avatar;
    @TableField(exist = false)
    private String riderName;
    @ApiModelProperty("评分")
    private Double orderScore;
    private Long userId;
    private BigDecimal memberMoney;
    private BigDecimal money;
    private BigDecimal oldMoney;
    private Integer classify;
    private String unit;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("区")
    private String district;
    @ApiModelProperty("详细地址")
    private String detailsAddress;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("电话")
    private String phone;
    @ApiModelProperty("上门时间")
    private String startTime;
    private String myLevel;
    private String ordersUserName;

    private BigDecimal rate;
    private BigDecimal zhiRate;
    private Long zhiUserId;
    private BigDecimal feiRate;
    private Long feiUserId;
    private BigDecimal pingRate;

    private String zhiUserName;
    private String feiUserName;

    private String code;
    @ApiModelProperty("开始服务时间")
    private String startServiceTime;
    @ApiModelProperty("结束服务时间")
    private String endServiceTime;
    @ApiModelProperty("开始服务图片")
    private String startServiceImg;
    @ApiModelProperty("结束服务图片")
    private String endServiceImg;
    @ApiModelProperty("开始服务经度")
    private String startServiceLongitude;
    @ApiModelProperty("开始服务纬度")
    private String startServiceLatitude;
    @ApiModelProperty("结束服务纬度")
    private String endServiceLongitude;
    @ApiModelProperty("结束服务纬度")
    private String endServiceLatitude;

    private BigDecimal couponMoney;
    private String startAddress;
    private String endAddress;
    @ApiModelProperty("退款金额")
    private BigDecimal refundMoney;
    @ApiModelProperty("支付总金额")
    private BigDecimal paySumMoney;
    @ApiModelProperty("退款总金额")
    private BigDecimal refundSumMoney;
}
